<template>
  <div class="album">
    <div class="item-contain" v-for="(item,index) in AlbumData" :key="index">
      <AlbumItem :data="item" :isPlay="true"></AlbumItem>
    </div>
  </div>
</template>

<script>
import AlbumItem from '../AlbumItem'
import AlbumData from '@/data/home/Album.js'
export default {
    name:"Album",
    components: {
        AlbumItem
    },setup(){
        return {
            AlbumData
        }
    }
}
</script>

<style lang="scss" scoped>
.album {
  .thumb {
    padding-bottom: 25px;
    padding-right: 25px;
  }

  .item-contain {
    width: 20%;
    float: left;
    overflow: hidden;
  }
}
</style>